package cn.wolfcode.domain;

import com.github.pagehelper.PageHelper;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.regex.Pattern;

@Getter
@Setter
public class MessageBoard {
    /** */
    private Long id;
    /** 昵称*/
    private String nickname;
    /** 留言内容*/
    private String content;
    /** 留言时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /** 业务大类*/
    //private Long categoryId;
    private SystemDictionaryItem category;
    /** 业务小类*/
    //private Long categoryItemId;
    private SystemDictionaryItem categoryItem;
    /** 回复状态(未回复/已回复)*/
    private Boolean replystatus;
}